﻿<UserControl x:Class="NextContactControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
             DataContext="{Binding RelativeSource={RelativeSource Self}}"
             xmlns:lib="clr-namespace:HMSLibrary;assembly=HMSLibrary"
              xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit">
    <Grid>
        <Grid Name="MainGrid">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100"/>
                <ColumnDefinition Width="300"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
            </Grid.RowDefinitions>
            <TextBlock Text="Date:" Style="{StaticResource TextBlockStyle}"/>
            <StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Left" Margin="2">
                <DatePicker Grid.Column="3" Height="28" Name="AppointDateDatePicker" Width="160" HorizontalAlignment="Left"/>
                <TextBlock Text="Time:" Style="{StaticResource TextBlockStyle}"/>
                <extToolkit:DateTimeUpDown Width="100" HorizontalAlignment="Left" Name="AppointmentTime" Format="ShortTime" />
            </StackPanel>
            <TextBlock Text="Contact Type:" Grid.Row="1" Style="{StaticResource TextBlockStyle}"/>
            <ComboBox Margin="2" Width="250" Name="ContactTypeComboBox" DisplayMemberPath="Name" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="1" SelectedValuePath="ID"/>
            <TextBlock Text="Remarks:" Grid.Row="2" Style="{StaticResource TextBlockStyle}"/>
            <extToolkit:WatermarkTextBox Grid.Column="1" Watermark="Remarks" Grid.Row="2" Name="RemarksTextBox" Margin="2"/>
            <CheckBox Grid.Row="3" Margin="5" Grid.Column="1" Content="Remind Me"/>
        </Grid>
       
    </Grid>
</UserControl>
